package com.qf.main.pharmacy.common.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author chengqiang
 * @Create 2024-02-23-14:06
 * @Description:
 */
@Data
public class OrderMallVo {
    /**
     * 订单商品id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "订单商品id")
    private Integer id;

    /**
     * 归属订单
     */
    @TableField(value = "order_no")
    @ApiModelProperty(value = "归属订单")
    private Long orderNo;

    /**
     * 商品id
     */
    @TableField(value = "order_mall_id")
    @ApiModelProperty(value = "商品id")
    private Integer orderMallId;

    /**
     * 商品名
     */
    @TableField(value = "order_mall_name")
    @ApiModelProperty(value = "商品名")
    private String orderMallName;

    /**
     * 商品单价
     */
    @TableField(value = "order_mall_price")
    @ApiModelProperty(value = "商品单价")
    private BigDecimal orderMallPrice;

    /**
     * 商品数量
     */
    @TableField(value = "order_mall_number")
    @ApiModelProperty(value = "商品数量")
    private Integer orderMallNumber;

    /**
     * 图片
     */
    @TableField(value = "order_img")
    @ApiModelProperty(value = "图片")
    private String orderImg;
    /**
     * 店铺号
     */
    @TableField(value = "shop_no")
    @ApiModelProperty(value = "店铺号")
    private Long shopNo;

    /**
     * 订单状态(0未发货，1已发货，2交易完成)
     */
    @TableField(value = "order_mall_status")
    @ApiModelProperty(value = "订单状态(0未发货，1已发货，2交易完成)")
    private Integer orderMallStatus;
    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

}
